<?php
$this->load->view('not_logged_in/components/header', array('current_page' => 1));
?>
	<!-- Banner Wrapper -->
	<div id="banner-wrapper">
		<div class="container">
			<div class="row">
				<div class="12u">

					<!-- Banner -->
					<div id="banner" class="box">

						<div>
							<div class="row">
								<div class="5u">
									<form action="<?php echo base_url().'user/login'?>" method="post"
									      accept-charset="utf-8">
										<h2>Login</h2>
										<br/>

										<div class="input-group input-group-lg">
											<span class="input-group-addon">Username</span>
											<input type="text" class="form-control" placeholder="Username"
											       name="username"
											       value="" id="username">
										</div>
										<br/>

										<div class="input-group input-group-lg">
											<span class="input-group-addon">Password</span>
											<input class="form-control" type="password" name="password" value=""
											       id="password">
										</div>
										<br/>
										<input type="submit" class="btn btn-success btn-lg" name="ok" value="Login"/>
										<br/>
										<br/>
										<a style="text-decoration: none" type="button"
										   class="btn btn-default btn-warning btn-lg"
										   href='http://localhost/blog/user/register'>Register</a>
										<a style="text-decoration: none" type="button"
										   class="btn btn-default btn-danger btn-lg"
										   href='http://localhost/blog/user/fg_password'>Forgot Password</a>
										<br/><span class=error></span>
									</form>
								</div>

								<div class=7u>
									<?php
									echo validation_errors();
									if ($error != "")
										echo '<h3  style="color: #ff872f">' . $error . '</h3>';
									?>
								</div>
							</div>
						</div>

					</div>

				</div>
			</div>
		</div>
	</div>

<?php
$this->load->view('not_logged_in/components/footer');
?>